package com.letfox.ad.dao;

import java.util.Map;

import com.letfox.ad.model.ADApp;

public interface ADAppDao {
    int deleteByPrimaryKey(String adAppId);

    int insert(ADApp record);

    ADApp selectByPrimaryKey(String adAppId);

    int updateByPrimaryKey(ADApp record);
    
    int checkRequest(String appId,String adPlaceId);
    
    Map<String, String> adTotalCensus(Map<String, String> map);
    
    Map<String, String> queryCensusByDate(Map<String, String> map);
    
    Map<String, String> queryAmountByDate(Map<String, String> map);
}